package com.feihong.yw189.model.User;

/**
 * Created by Sabirjan on 2017/6/29.
 * TXGWApp.
 * 飞宏电子
 * 用户定位信息
 */

public class CityInfo {

    private String cityName;//城市名称
    private String cityCode;//城市代码
    private long positionTime  = 0L;//定位时间
    private String latitude ="";//坐标latitude
    private String longitude ="";//坐标longitude

    public String getLatitude() {
        if(latitude==null) {
            latitude = "";
        }
        return latitude;
    }

    public void setLatitude(String latitude) {
        this.latitude = latitude;
    }

    public String getLongitude() {
        if(longitude==null) {
            longitude = "";
        }
        return longitude;
    }

    public void setLongitude(String longitude) {
        this.longitude = longitude;
    }

    public long getPositionTime() {
        return positionTime;
    }

    public void setPositionTime(long positionTime) {
        this.positionTime = positionTime;
    }

    public String getCityName() {
        return cityName;
    }

    public void setCityName(String cityName) {
        this.cityName = cityName;
    }

    public String getCityCode() {
        return cityCode;
    }

    public void setCityCode(String cityCode) {
        this.cityCode = cityCode;
    }

    @Override
    public String toString() {
        return "CityInfo{" +
                "cityName='" + cityName + '\'' +
                ", cityCode='" + cityCode + '\'' +
                ", positionTime=" + positionTime +
                ", latitude='" + latitude + '\'' +
                ", longitude='" + longitude + '\'' +
                '}';
    }
}
